package com.ccExcelUtil.util;

import java.io.InputStream;
import java.util.List;
import java.util.Map;

/**
 * @author xiaozhao
 */
public class ContextHolder {

    private static final ThreadLocal<Map<Integer, List<?>>> dataMap = new ThreadLocal<>();

    public static void setDataMap(Map<Integer, List<?>> map) {
        dataMap.set(map);
    }

    public static Map<Integer, List<?>> getDataMap() {
        return dataMap.get();
    }
}
